#ifndef INFILE_H
#define INFILE_H

#include <string>
#include "..\..\include\file\filebase.h"

class InFile : public FileBase
{
  public:
	InFile();
	InFile(std::string, FileBase::OpenMode = FileBase::in);

	void open(std::string, FileBase::OpenMode = FileBase::in);
	void read(char*, size_t);
	void seekg(int offset, FileBase::Position origin);
	size_t tellg();

	friend bool getline(InFile&, std::string&);
};

#endif // INFILE_H
